package com.zhbit.Service.impl;

import java.util.List;

import com.zhbit.DAO.PersonDao;
import com.zhbit.Service.PersonService;
import com.zhbit.table.Person;

public class PersonServiceImpl implements PersonService{
private PersonDao personDao;
	/**
 * @return the personDao
 */
public PersonDao getPersonDao() {
	return personDao;
}
/**
 * @param personDao the personDao to set
 */
public void setPersonDao(PersonDao personDao) {
	this.personDao = personDao;
}
	@Override
	public List<Person> get(int id) {
		// TODO Auto-generated method stub
		return personDao.get(id);
	}

}
